
package requests

import (
	"github.com/goravel/framework/contracts/http"
	"github.com/goravel/framework/contracts/validation"
)

type UserNoticeSeeRequest struct {

	Nid string `json:"nid" form:"nid"`

	Uid string `json:"uid" form:"uid"`

	AddTime string `json:"add_time" form:"add_time"`

}

func (r *UserNoticeSeeRequest) Authorize(ctx http.Context) error {
	return nil
}

func (r *UserNoticeSeeRequest) Rules(ctx http.Context) map[string]string {
	return map[string]string{

		"nid": "required",

		"uid": "required",

		"add_time": "required",

	}
}

func (r *UserNoticeSeeRequest) Messages(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *UserNoticeSeeRequest) Attributes(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *UserNoticeSeeRequest) PrepareForValidation(ctx http.Context, data validation.Data) error {
	return nil
}
